from typing import List


class Solution:
    def findContinuousSequence(self, target: int) -> List[List[int]]:
        if target<3:
            return []
        length = int(target/2) + 1
        nums = [i+1 for i in range(length)]
        result = []
        for j in range(length-1):
            for k in range(j, length):
                if sum(nums[j:k+1]) == target:
                    result.append(nums[j:k+1])
        return result


x = Solution()
print(x.findContinuousSequence(9))